import math

a,b,c = eval(input())
delta = b * b - 4 * a * c
if delta > 0:
    r1 = (-b + math.sqrt(delta))/(2*a)
    r2 = (-b - math.sqrt(delta))/(2*a)
    print('The root are ' + str(r1) + ' and ' + str(r2))
elif delta == 0:
    r = (-b + math.sqrt(delta))/(2*a)
    print('The root is ' +str(r))
else:
    print('The equation has no real roots')